package services.notice;

import base.IBaseServicesWithoutBLOBs;
import wt.entity.notice.NoticeInfo;
import wt.entity.notice.NoticeInfoExample;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/12/20.
 */
public interface NoticeInfoServices extends IBaseServicesWithoutBLOBs< NoticeInfo, NoticeInfoExample> {

    void insertSelectiveAnnouncement(NoticeInfo noticeInfo, List<String> roleIdList) throws Exception;

    void insertSelectiveNotice(NoticeInfo noticeInfo, List<String> accountIdList) throws Exception;

    /**
     * 信息中心通知公告查询
     * @param accountId
     * @param roleId
     * @param startTime
     * @param endTime
     * @throws Exception
     */
    List<NoticeInfo> select(String noticeType,String accountId, String roleId, Date startTime,Date endTime) throws Exception;



}
